//
//  BViewController.m
//  MPTCustomUILibrary
//
//  Created by 龙鹏飞 on 2017/9/15.
//  Copyright © 2017年 jxzjxz. All rights reserved.
//

#import "BViewController.h"
#import "MPCNavigationBar.h"

@interface BViewController ()

@end

@implementation BViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    CGSize screenSize = UIScreen.mainScreen.bounds.size;
    MPCNavigationBar *bar = [[MPCNavigationBar alloc] initNavigationBarWithViewController:self needStatusBar:YES];
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    
    [self.navigationController setNavigationBarHidden:YES animated:NO];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
